<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="UTF-8">
<meta name="viewport"
	content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="spm_prefix" content="333.851">
<link rel="icon" href="/img/index.ico" />
<link rel="shortcut icon" href="./img/index.ico" />
<meta charset="UTF-8" name="viewport"
	content="width=device-width, initial-scale=1" />
<link href="/webjars/bootstrap/4.5.2/css/bootstrap.min.css"
	rel="stylesheet">
<link rel="stylesheet" href="/layui/css/layui.css">
<script src="/layui/layui.js"></script>
<script src="/webjars/jquery/3.4.1/jquery.min.js"></script>
<script src="/webjars/bootstrap/4.5.2/js/bootstrap.min.js"></script>
<title>登陆_碳氢知识</title>
</head>
<body style="min-width: 510px; text-align: center;">
	<div class="container">
		<br>
		<div class="row col-xl-auto justify-content-md-center">
			<div class="col-md-auto"></div>
			<div style="width: 330px;" class="container">
				<img alt="" src="/img/logo_interface.png" width="300px">
				<br><span style="color: red;" th:text="${error}"></span>
				<span style="color: red;" th:text="${message}"></span><br><br>
				<h3>登陆</h3>
				<br>
				<form role="form" method="post" id="signupForm" action="/loginVerify" onsubmit="return CheckPost();">
					<div class="form-group">
						<input type="text" class="form-control" placeholder="请输入邮箱/手机号"
							id="account" required="" name="account">
							<span style="color: red;" id="accountver"></span>
					</div>
					<div class="form-group">
						<input type="password" class="form-control" placeholder="密码"
							id="passwd" required="" name="passwd">
							<span style="color: red;" id="passwdver"></span>
					</div>
					<div class="form-group">
						<input type="text" class="form-control" placeholder="验证码"
							id="verificationCode" required="" name="code" autocomplete="off">
							<span style="color: red;" id="verificationCodever"></span>
					</div>
					
					<img src="/login/code" id="imgflush" onclick="this.src='/login/code?r='+Math.random();" title="点击更换验证码" />
					<button type="submit" id="submit" disabled="true" class="btn btn-primary block container">登
						录</button>
					<p class="text-muted text-center">
						<a href="/login/passwd"><small>忘记密码了？</small></a> | 
						<a href="/login/register">注册一个新账号</a>
					</p>
				</form>
			</div>
			<div class="col-md-auto"></div>
		</div>
	</div>
	<script src="/js/login.js"></script>
</body>
</html>